import { Routes, RouterModule }  from '@angular/router';

import { Ordermanagement } from './ordermanagement.component';
import { Ordinaryorder } from './components/ordinaryorder/ordinaryorder.component';
import { Channelorder } from './components/channelorder/channelorder.component';

// noinspection TypeScriptValidateTypes
const routes: Routes = [
  {
    path: '',
    component: Ordermanagement,
    children: [
      { path: 'ordinaryorder', component: Ordinaryorder },
      { path: 'channelorder', component: Channelorder }      
      
    ]
  }
];

export const routing = RouterModule.forChild(routes);
